package com.huobi.event;

import org.springframework.context.ApplicationEvent;

import com.huobi.db.bean.HbTradeDetail;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TradeDataEvent extends ApplicationEvent {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1758555567053912660L;

	public TradeDataEvent(Object source) {
		super(source);
	}
	
	public HbTradeDetail[] getData(){
		return (HbTradeDetail[])this.getSource();
	}

}
